const env="dev";


const devConfig={

}

const preConfig={

}
const prodConfig={

}

const commonConFig={
    baseUrl:(url)=>url,
    baseImgUrl:(url)=>"https://minglie.gitee.io/ft/project/img"+url,
}
let envConfig;
if(env=="dev"){
    envConfig=devConfig;
}else if(env=="pre"){
    envConfig=preConfig;
}else if(env=="prod"){
    envConfig=prodConfig;
}

M.config=Object.assign(commonConFig,envConfig);